<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // setInterval(function(){
            // console.log('每一秒执行一次')
        // },1000)
        function fn(){
            console.log('再次每一秒执行一次')
        }
        fn()
        setInterval(fn,1000)
    </script>
</body>
</html>